package com.xbongbong.admin.model;

import com.xbongbong.admin.domain.entity.WorkOrderStageRetainEntity;
import com.xbongbong.paas.toolbox.exception.XbbException;

import java.util.List;
import java.util.Map;


public interface WorkOrderStageRetainModel  {



    List<WorkOrderStageRetainEntity> findEntitys(Map<String, Object> param);

    /**
     * 批量删除
     * @param list 主键id集合
     * @param corpid
     * @author xingxing.xiao
     */
    Integer deleteBatchByTemplateId(List<Long> list, String corpid);

    Integer insertBatch(List<WorkOrderStageRetainEntity> workOrderStageRetainEntities);

    Integer deleteByAppId(Long appId ,String corpid);
}
